package com.jxc.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Module entity. @author MyEclipse Persistence Tools
 */

public class Module implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String img;
	private Set moduleandsubs = new HashSet(0);
	private Set submodules = new HashSet(0);

	// Constructors

	/** default constructor */
	public Module() {
	}

	/** full constructor */
	public Module(String name, String img, Set moduleandsubs, Set submodules) {
		this.name = name;
		this.img = img;
		this.moduleandsubs = moduleandsubs;
		this.submodules = submodules;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImg() {
		return this.img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public Set getModuleandsubs() {
		return this.moduleandsubs;
	}

	public void setModuleandsubs(Set moduleandsubs) {
		this.moduleandsubs = moduleandsubs;
	}

	public Set getSubmodules() {
		return this.submodules;
	}

	public void setSubmodules(Set submodules) {
		this.submodules = submodules;
	}

}